local thbattle__xiaoting_duqian = fk.CreateSkill {

  name = "thbattle__xiaoting_duqian",

  tags = {  },

}



thbattle__xiaoting_duqian:addEffect(fk.Damage, {
  anim_type = "control",
  prompt = "#thbattle__xiaoting_duqian",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(thbattle__xiaoting_duqian.name) and player:distanceTo(data.to) <= 1 and data.to ~= player and
        not data.to:isNude()
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local target_card = room:askForCardChosen(player, data.to, "he", thbattle__xiaoting_duqian.name,
      "#thbattle__xiaoting_duqian-choose_card")
    room:obtainCard(player, target_card, false, fk.ReasonPrey, player, thbattle__xiaoting_duqian.name)
  end
})

return thbattle__xiaoting_duqian